package com.glodon.paas.monitor.server.biz.mapper;

import org.apache.ibatis.annotations.Param;

import com.glodon.paas.monitor.server.biz.domain.MonitorItemAlarmRulesEntity;

public interface MonitorItemAlarmRulesMapper {

	int deleteByPrimaryKey(Long id);

	int insert(MonitorItemAlarmRulesEntity record);

	int insertSelective(MonitorItemAlarmRulesEntity record);

	MonitorItemAlarmRulesEntity selectByItemId(@Param("itemId") Long itemId);

	MonitorItemAlarmRulesEntity selectByAlarmId(@Param("alarmId") Long alarmId);

	MonitorItemAlarmRulesEntity selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(MonitorItemAlarmRulesEntity record);

	int updateByPrimaryKey(MonitorItemAlarmRulesEntity record);
}